package entity

import (
	"fmt"
)

type Controller interface {
	Register()
}

type SRoute struct {
	Path    string
	Method  string
	Handler func()
}

type SRoutes struct {
	List []SRoute
}

func (routes SRoutes) Register() {

	fmt.Println(routes.List)
	// for k, item := range routes {
	// 	fmt.Println(k, item)
	// }
}
